Software Development
Working with Complex Data Types in Python
Complex Data Types in Python: Shallow & Deep Copies in Python
Complex Data Types in Python: Working with Dictionaries & Sets in Python
Complex Data Types in Python: Working with Lists & Tuples in Python

Complex Data Types in Python: Shallow & Deep Copies in Python

Course Number:
it_pycdpydj_03_enus
Lesson Objectives

Complex Data Types in Python: Shallow & Deep Copies in Python

  • discover the key concepts covered in this course
  • perform shallow and deep copies of Python strings
  • create shallow copies of lists
  • create deep copies of lists where changes to the copy do not affect the original
  • perform shallow and deep copies of tuples
  • specify how shallow copies of dictionaries work
  • specify how deep copies of dictionaries work
  • perform shallow and deep copies of sets
  • recall how shallow and deep copies work for complex data types

Overview/Description

Learn about copying operations on containers in Python. You will learn the subtle distinction between shallow and deep copies. Changes made to shallow copies affect the original whereas with deep copies do not.



Target

Prerequisites: none

Complex Data Types in Python: Working with Dictionaries & Sets in Python

Course Number:
it_pycdpydj_02_enus
Lesson Objectives

Complex Data Types in Python: Working with Dictionaries & Sets in Python

  • discover the key concepts covered in this course
  • create and initialize dictionaries
  • create dictionaries with other complex data types as values
  • modify and update dictionaries using dictionary methods
  • create and initialize sets
  • perform union, intersection, difference, and other set operations
  • work with nested types within other complex data types
  • convert lists to dictionaries and vice versa
  • recall feature of dictionaries and sets

Overview/Description

Learn about dictionary data type in Python. Dictionaries are associative containers used to store key-value pairs. Given a key, finding the associated value is optimized by Python to be extremely efficient.



Target

Prerequisites: none

Complex Data Types in Python: Working with Lists & Tuples in Python

Course Number:
it_pycdpydj_01_enus
Lesson Objectives

Complex Data Types in Python: Working with Lists & Tuples in Python

  • discover the key concepts covered in this course
  • create and initialize lists in Python
  • access and update list elements
  • add, remove, sort, and reverse elements from a list
  • executing built-in functions with lists
  • create new lists from existing lists using slicing operations
  • extract specific elements from the original list using step size
  • perform list functions on strings
  • invoke functions on the string object
  • access substrings using slicing operations
  • specify the similarities between lists and tuples
  • specify the differences between lists and tuples
  • use dictionaries and sets in Python
  • recall the ways in which lists and tuples are similar and different

Overview/Description

Learn to work with lists, tuples, and strings in Python. You will see the similarities and differences between tuples and lists and see how strings are essentially just a list of characters.



Target

Prerequisites: none

Close Chat Live